// main.js
import App from './App'
import uViewPlus from 'uview-plus'

// #ifdef VUE3
import { createSSRApp } from 'vue'
import { createPinia } from 'pinia'

export function createApp() {
  const app = createSSRApp(App)

  app.use(uViewPlus)
  const pinia = createPinia()
  
  app.use(pinia)
  
  return {
    app,
    pinia 
  }
}
// #endif